﻿@using ClassifiedAds.Domain.Entities
@model FileEntry
@{
    ViewData["Title"] = "Delete";
}

<h1>Delete File</h1>

<p>Are you sure you want to delete this file?</p>

<dl>
    <dt>
        Name
    </dt>
    <dd>
        @Model.Name (@Model.FileName)
    </dd>
    <dt>
        Size (bytes)
    </dt>
    <dd>
        @Model.Size.ToString("N1")
    </dd>
</dl>

<form method="post">
    <input type="hidden" asp-for="Id" />
    <input type="submit" value="Delete" class="btn btn-default" />
</form>
<a asp-controller="File" asp-action="Index">Cancel</a>